{// 引入标签库 }
<tagLib name="html" />
<include file="Public:header" />
<script type="text/javascript" src="__TMPL__Common/js/calendar/calendar.php?lang=zh-cn" ></script>

<load href='__TMPL__Common/js/calendar/calendar.css' />
<load href='__TMPL__Common/js/calendar/calendar.js' />
<div class="main">
<div class="main_title">用户明细</div>
<div class="blank5"></div>

<div class="search_row">
	<form name="search" action="__APP__" method="get">	
		
		会员名称：<input type="text" class="textbox" name="user_name" value="{:trim($_REQUEST['user_name'])}" style="width:100px;" />
		会员邮件：<input type="text" class="textbox" name="email" value="{:trim($_REQUEST['email'])}" style="width:100px;" />
		手机号：<input type="text" class="textbox" name="mobile" value="{:trim($_REQUEST['mobile'])}" style="width:120px;" />
		会员等级:
		<select name="level_id">
			<option value="0" <if condition="intval($_REQUEST['level_id']) eq 0">selected="selected"</if>>{%ALL}</option>
			<foreach name="level_list" item="level_item">
				<option value="{$level_item.id}" <if condition="intval($_REQUEST['level_id']) eq $level_item['id']">selected="selected"</if>>{$level_item.name}</option>
			</foreach>
		</select>
		<div class="blank5"></div>
		注册时间：
		<input type="text" class="textbox" name="begin_time" id="begin_time" value="{:trim($_REQUEST['begin_time'])}" onfocus="return showCalendar('begin_time', '%Y-%m-%d %H:%M:%S', false, false, 'btn_begin_time');" style="width:130px" />
		<input type="button" class="button" id="btn_begin_time" value="{%SELECT_TIME}" onclick="return showCalendar('begin_time', '%Y-%m-%d %H:%M:%S', false, false, 'btn_begin_time');" />	
		-
		<input type="text" class="textbox" name="end_time" id="end_time" value="{:trim($_REQUEST['end_time'])}" onfocus="return showCalendar('end_time', '%Y-%m-%d %H:%M:%S', false, false, 'btn_end_time');" style="width:130px" />
		<input type="button" class="button" id="btn_end_time" value="{%SELECT_TIME}" onclick="return showCalendar('end_time', '%Y-%m-%d %H:%M:%S', false, false, 'btn_end_time');" />	
		
		<input type="hidden" value="WebsiteStatistics" name="m" />
		<input type="hidden" value="website_users_info" name="a" />
		<input type="submit" class="button" value="{%SEARCH}" />
    	
	</form>
</div>		
						
<div class="blank5"></div>
		
<html:list 
	id="dataTable" 
	style="dataTable" 
	name="deal" 
	
	datasource="list" 
	show="注册时间:注册时间
		,会员名称:会员名称
		,会员邮件:会员邮件
		,手机号:手机号
		,会员余额|format_price:会员余额
		,冻结资金|format_price:冻结资金
		,会员等级:会员等级
		"/>
			
<div class="blank5"></div>
<div class="page">{$page}</div>

</div>

<include file="Public:footer" />
